Integrand size = 37, antiderivative size = 213 \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {11}{2}}(c+d x)} \, dx=\frac {2 a A \sin (c+d x)}{63 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {2 a (16 A+21 C) \sin (c+d x)}{105 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {8 a (16 A+21 C) \sin (c+d x)}{315 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {16 a (16 A+21 C) \sin (c+d x)}{315 d \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}+\frac {2 A \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{9 d \cos ^{\frac {9}{2}}(c+d x)} \]
[Out]
Time = 0.81 (sec) , antiderivative size = 213, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.108, Rules used = {3123, 3059, 2851, 2850} \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {11}{2}}(c+d x)} \, dx=\frac {8 a (16 A+21 C) \sin (c+d x)}{315 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {2 a (16 A+21 C) \sin (c+d x)}{105 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {16 a (16 A+21 C) \sin (c+d x)}{315 d \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}+\frac {2 A \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{9 d \cos ^{\frac {9}{2}}(c+d x)}+\frac {2 a A \sin (c+d x)}{63 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}} \]
[In]
[Out]
Rule 2850
Rule 2851
Rule 3059
Rule 3123
Rubi steps \begin{align*} \text {integral}& = \frac {2 A \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{9 d \cos ^{\frac {9}{2}}(c+d x)}+\frac {2 \int \frac {\sqrt {a+a \cos (c+d x)} \left (\frac {a A}{2}+\frac {3}{2} a (2 A+3 C) \cos (c+d x)\right )}{\cos ^{\frac {9}{2}}(c+d x)} \, dx}{9 a} \\ & = \frac {2 a A \sin (c+d x)}{63 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {2 A \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{9 d \cos ^{\frac {9}{2}}(c+d x)}+\frac {1}{21} (16 A+21 C) \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {7}{2}}(c+d x)} \, dx \\ & = \frac {2 a A \sin (c+d x)}{63 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {2 a (16 A+21 C) \sin (c+d x)}{105 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {2 A \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{9 d \cos ^{\frac {9}{2}}(c+d x)}+\frac {1}{105} (4 (16 A+21 C)) \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {5}{2}}(c+d x)} \, dx \\ & = \frac {2 a A \sin (c+d x)}{63 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {2 a (16 A+21 C) \sin (c+d x)}{105 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {8 a (16 A+21 C) \sin (c+d x)}{315 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {2 A \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{9 d \cos ^{\frac {9}{2}}(c+d x)}+\frac {1}{315} (8 (16 A+21 C)) \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {3}{2}}(c+d x)} \, dx \\ & = \frac {2 a A \sin (c+d x)}{63 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {2 a (16 A+21 C) \sin (c+d x)}{105 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {8 a (16 A+21 C) \sin (c+d x)}{315 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {16 a (16 A+21 C) \sin (c+d x)}{315 d \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}+\frac {2 A \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{9 d \cos ^{\frac {9}{2}}(c+d x)} \\ \end{align*}
Time = 0.63 (sec) , antiderivative size = 124, normalized size of antiderivative = 0.58 \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {11}{2}}(c+d x)} \, dx=\frac {\sqrt {a (1+\cos (c+d x))} (214 A+189 C+2 (88 A+63 C) \cos (c+d x)+11 (16 A+21 C) \cos (2 (c+d x))+32 A \cos (3 (c+d x))+42 C \cos (3 (c+d x))+32 A \cos (4 (c+d x))+42 C \cos (4 (c+d x))) \tan \left (\frac {1}{2} (c+d x)\right )}{315 d \cos ^{\frac {9}{2}}(c+d x)} \]
[In]
[Out]
Time = 13.56 (sec) , antiderivative size = 121, normalized size of antiderivative = 0.57
method | result | size |
default | \(\frac {2 \sin \left (d x +c \right ) \left (128 A \left (\cos ^{4}\left (d x +c \right )\right )+168 C \left (\cos ^{4}\left (d x +c \right )\right )+64 A \left (\cos ^{3}\left (d x +c \right )\right )+84 C \left (\cos ^{3}\left (d x +c \right )\right )+48 A \left (\cos ^{2}\left (d x +c \right )\right )+63 C \left (\cos ^{2}\left (d x +c \right )\right )+40 A \cos \left (d x +c \right )+35 A \right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}}{315 d \left (1+\cos \left (d x +c \right )\right ) \cos \left (d x +c \right )^{\frac {9}{2}}}\) | \(121\) |
parts | \(\frac {2 A \sin \left (d x +c \right ) \left (128 \left (\cos ^{4}\left (d x +c \right )\right )+64 \left (\cos ^{3}\left (d x +c \right )\right )+48 \left (\cos ^{2}\left (d x +c \right )\right )+40 \cos \left (d x +c \right )+35\right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}}{315 d \left (1+\cos \left (d x +c \right )\right ) \cos \left (d x +c \right )^{\frac {9}{2}}}+\frac {2 C \sin \left (d x +c \right ) \left (8 \left (\cos ^{2}\left (d x +c \right )\right )+4 \cos \left (d x +c \right )+3\right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}}{15 d \left (1+\cos \left (d x +c \right )\right ) \cos \left (d x +c \right )^{\frac {5}{2}}}\) | \(146\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 115, normalized size of antiderivative = 0.54 \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {11}{2}}(c+d x)} \, dx=\frac {2 \, {\left (8 \, {\left (16 \, A + 21 \, C\right )} \cos \left (d x + c\right )^{4} + 4 \, {\left (16 \, A + 21 \, C\right )} \cos \left (d x + c\right )^{3} + 3 \, {\left (16 \, A + 21 \, C\right )} \cos \left (d x + c\right )^{2} + 40 \, A \cos \left (d x + c\right ) + 35 \, A\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{315 \, {\left (d \cos \left (d x + c\right )^{6} + d \cos \left (d x + c\right )^{5}\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {11}{2}}(c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 567 vs. \(2 (183) = 366\).
Time = 0.36 (sec) , antiderivative size = 567, normalized size of antiderivative = 2.66 \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {11}{2}}(c+d x)} \, dx=\frac {2 \, {\left (\frac {21 \, C {\left (\frac {15 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {25 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {17 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}} - \frac {7 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{7}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{7}}\right )} {\left (\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + 1\right )}^{3}}{{\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {7}{2}} {\left (-\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {7}{2}} {\left (\frac {3 \, \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {3 \, \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} + \frac {\sin \left (d x + c\right )^{6}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{6}} + 1\right )}} + \frac {A {\left (\frac {315 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {735 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {1302 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}} - \frac {1206 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{7}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{7}} + \frac {431 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{9}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{9}} - \frac {107 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{11}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{11}}\right )} {\left (\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + 1\right )}^{5}}{{\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {11}{2}} {\left (-\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {11}{2}} {\left (\frac {5 \, \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {10 \, \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} + \frac {10 \, \sin \left (d x + c\right )^{6}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{6}} + \frac {5 \, \sin \left (d x + c\right )^{8}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{8}} + \frac {\sin \left (d x + c\right )^{10}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{10}} + 1\right )}}\right )}}{315 \, d} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {11}{2}}(c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
Time = 8.41 (sec) , antiderivative size = 611, normalized size of antiderivative = 2.87 \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {11}{2}}(c+d x)} \, dx=\frac {\sqrt {a+a\,\left (\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}\right )}\,\left (\frac {\left (256\,A+336\,C\right )\,1{}\mathrm {i}}{315\,d}-\frac {C\,{\mathrm {e}}^{c\,3{}\mathrm {i}+d\,x\,3{}\mathrm {i}}\,8{}\mathrm {i}}{3\,d}+\frac {C\,{\mathrm {e}}^{c\,6{}\mathrm {i}+d\,x\,6{}\mathrm {i}}\,8{}\mathrm {i}}{3\,d}-\frac {{\mathrm {e}}^{c\,9{}\mathrm {i}+d\,x\,9{}\mathrm {i}}\,\left (256\,A+336\,C\right )\,1{}\mathrm {i}}{315\,d}+\frac {{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,\left (1152\,A+1512\,C\right )\,1{}\mathrm {i}}{315\,d}-\frac {{\mathrm {e}}^{c\,7{}\mathrm {i}+d\,x\,7{}\mathrm {i}}\,\left (1152\,A+1512\,C\right )\,1{}\mathrm {i}}{315\,d}+\frac {{\mathrm {e}}^{c\,4{}\mathrm {i}+d\,x\,4{}\mathrm {i}}\,\left (2016\,A+2016\,C\right )\,1{}\mathrm {i}}{315\,d}-\frac {{\mathrm {e}}^{c\,5{}\mathrm {i}+d\,x\,5{}\mathrm {i}}\,\left (2016\,A+2016\,C\right )\,1{}\mathrm {i}}{315\,d}\right )}{\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+4\,{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+4\,{\mathrm {e}}^{c\,3{}\mathrm {i}+d\,x\,3{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+6\,{\mathrm {e}}^{c\,4{}\mathrm {i}+d\,x\,4{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+6\,{\mathrm {e}}^{c\,5{}\mathrm {i}+d\,x\,5{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+4\,{\mathrm {e}}^{c\,6{}\mathrm {i}+d\,x\,6{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+4\,{\mathrm {e}}^{c\,7{}\mathrm {i}+d\,x\,7{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+{\mathrm {e}}^{c\,8{}\mathrm {i}+d\,x\,8{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+{\mathrm {e}}^{c\,9{}\mathrm {i}+d\,x\,9{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}} \]
[In]
[Out]